import layout from "@/layout";
export default {
  path: "/employee",
  name: "employee",
  component: layout,
  children: [
    {
      path: "",
      name: "employee",
      component: () => import("@/views/employee"),
      meta: {
        title: "员工",
        icon: "people",
      },
    },
    {
      path: "/employee/detail/:id?",
      component: () => import("@/views/employee/detail.vue"),
      hidden: true, //该路由项在侧边栏或菜单中将被隐藏
      meta: {
        title: "员工详情", //该路由项的标题
      },
    },
  ],
};
